<template>
    <div class="successfully">
        <div class="img-box">
          <img class="img" src="@/assets/img/image_modify_suc.png">
          <div class="successfully-text">修改成功</div>
        </div>
        <div class="blank" @click="blank()">返回登录</div>
      </div>
</template>

<script>
import apis from '../../../../../static/js/apis.js'
export default {
  components: {
    apis
  },
  methods: {
    blank () {
      this.$router.push({
        path: '/login'
      })
    }
  }
}
</script>

<style scoped>
.successfully{
  position:fixed;
  top:0;
  bottom: 0;
  width: 100%;
  background: #fff;
  padding: 0 40px;
}
.img-box{
position:absolute;
width: 200px;
margin-top:-210px;
margin-left:-100px;
top:50%;
left: 50%;
}
.img{
  width: 100%;
}
.blank{
  margin-top:50px;
  width:80%;
  background: #ffd602;
  color:#fff;
  text-align: center;
  font-size: 14px;
   height: 40px;
  line-height: 40px;
  border-radius: 10px;
  position:absolute;
  top:60%;
  left: 10%;
}
.successfully-text{
  margin:20px 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color:#666;
}
</style>
